package com.ziyun.pop.modules.mercharReport.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author jiangli
 * @date 2018-10-16 15:17
 * 值班账单表
 */
public class ReportOrderInfoVO implements Serializable {

    //订单号
    @Excel(name = "订单号", orderNum = "1")
    private String orderId;
    //门店
    @Excel(name = "门店", orderNum = "2")
    private String suppliers;
    //客户名称
    @Excel(name = "客户名称", orderNum = "3")
    private String memberId;
    //联系电话
    @Excel(name = "联系电话", orderNum = "4")
    private String shipTel;
    //开单日期
    @Excel(name = "开单日期", orderNum = "5", format = "yyyy-MM-dd HH:mm:ss")
    private Date createtime;
    //收款方式
    @Excel(name = "收款方式", orderNum = "6")
    private String payment;
    //应收金额
    @Excel(name = "应收金额", orderNum = "7")
    private BigDecimal payableAmount;
    //实收金额
    @Excel(name = "实收金额", orderNum = "8")
    private BigDecimal payed;
    //调价金额
    @Excel(name = "调价金额", orderNum = "9")
    private BigDecimal discount;
    //优惠金额
    @Excel(name = "优惠金额", orderNum = "10")
    private BigDecimal pmtGoods;
    //订单状态
    @Excel(name = "订单状态", orderNum = "11")
    private String productionStatus;
    //收款时间
    @Excel(name = "收款时间", orderNum = "12", format = "yyyy-MM-dd HH:mm:ss")
    private Date paymentTime;
    //项目名称
    @Excel(name = "项目名称", orderNum = "13")
    private String projectName;
    //备注
    @Excel(name = "备注", orderNum = "14")
    private String memo;
    //制作要求
    @Excel(name = "制作要求", orderNum = "15")
    private String productionRequest;
    //规格属性
    @Excel(name = "规格属性", orderNum = "16")
    private String addon;
    //业务员
    @Excel(name = "业务员", orderNum = "17")
    private String merchantsSalesMan;
    //是否挂账 :0.否; 1.是
    @Excel(name = "是否挂账", orderNum = "17")
    private String onCredit;




    //押金金额
    private BigDecimal money;
    //优惠卷优惠
    private BigDecimal pmtOrder;
    //业务员
    private String username;
    //收款人
    private String payee;
    //绑定供应商ID
    private Integer supplierId;
    //商户名
    private String suppName;

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getSuppliers() {
        return suppliers;
    }

    public void setSuppliers(String suppliers) {
        this.suppliers = suppliers;
    }

    public String getMemberId() {
        return memberId;
    }

    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }

    public String getShipTel() {
        return shipTel;
    }

    public void setShipTel(String shipTel) {
        this.shipTel = shipTel;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getPayment() {
        return payment;
    }

    public void setPayment(String payment) {
        this.payment = payment;
    }

    public BigDecimal getPayableAmount() {
        return payableAmount;
    }

    public void setPayableAmount(BigDecimal payableAmount) {
        this.payableAmount = payableAmount;
    }

    public BigDecimal getPayed() {
        return payed;
    }

    public void setPayed(BigDecimal payed) {
        this.payed = payed;
    }

    public BigDecimal getDiscount() {
        return discount;
    }

    public void setDiscount(BigDecimal discount) {
        this.discount = discount;
    }

    public String getProductionStatus() {
        return productionStatus;
    }

    public void setProductionStatus(String productionStatus) {
        this.productionStatus = productionStatus;
    }

    public Date getPaymentTime() {
        return paymentTime;
    }

    public void setPaymentTime(Date paymentTime) {
        this.paymentTime = paymentTime;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public BigDecimal getPmtGoods() {
        return pmtGoods;
    }

    public void setPmtGoods(BigDecimal pmtGoods) {
        this.pmtGoods = pmtGoods==null?new BigDecimal("0.0"):pmtGoods;
    }

    public BigDecimal getPmtOrder() {
        return pmtOrder;
    }

    public void setPmtOrder(BigDecimal pmtOrder) {
        this.pmtOrder = pmtOrder==null?new BigDecimal("0.0"):pmtOrder;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPayee() {
        return payee;
    }

    public void setPayee(String payee) {
        this.payee = payee;
    }

    public Integer getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Integer supplierId) {
        this.supplierId = supplierId;
    }

    public String getSuppName() {
        return suppName;
    }

    public void setSuppName(String suppName) {
        this.suppName = suppName;
    }

    public BigDecimal getPmt() {
        return this.pmtGoods.add(this.pmtOrder);
    }

    public String getAddon() {
        return addon;
    }

    public void setAddon(String addon) {
        this.addon = addon;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public String getProductionRequest() {
        return productionRequest;
    }

    public void setProductionRequest(String productionRequest) {
        this.productionRequest = productionRequest;
    }

    public String getMerchantsSalesMan() {
        return merchantsSalesMan;
    }

    public void setMerchantsSalesMan(String merchantsSalesMan) {
        this.merchantsSalesMan = merchantsSalesMan;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public String getOnCredit() {
        return onCredit;
    }

    public void setOnCredit(String onCredit) {
        this.onCredit = onCredit;
    }
}
